Wayland: Add a missing break statement
authorMatthias Clasen <mclasen@redhat.com>
Sat, 3 Aug 2013 22:59:41 +0000 (00:59 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 3 Aug 2013 23:27:39 +0000 (01:27 +0200)
Found by the clang static analyzer.

gdk/wayland/gdkdevice-wayland.c

index 292509660d81c2faa3ade539b25d7a356646e4c7..225c12eac55f1160eba6f1b41acb44cd7a88e593 100644 (file)
@@ -789,6 +789,7 @@ pointer_handle_axis (void              *data,
   case WL_POINTER_AXIS_HORIZONTAL_SCROLL:
     delta_x = wl_fixed_to_double (value) / 10.0;
     delta_y = 0;
+    break;
   default:
     g_return_if_reached ();
   }